package com.iwomy.secureplat.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iwomy.secureplat.platform.entity.AlarmEventTypeEntity;
import com.iwomy.secureplat.platform.entity.BasicDeviceEntity;

import java.util.List;

public interface AlarmEventTypeService extends IService<AlarmEventTypeEntity> {
	/**
	 * 根据设备信息、报警类型查对应时间类型
	 * @param basicDeviceEntity
	 * @param alarmTypeCode
	 * @param eventTypeCode
	 * @param protocolName  协议名称
	 * @return
	 */
	List<AlarmEventTypeEntity> listByBasicDeviceAndCode(BasicDeviceEntity basicDeviceEntity
			, String alarmTypeCode,String eventTypeCode,String protocolName);

}